#ifndef PVR_AUDIO
#define PVR_AUDIO

#ifdef __cplusplus
extern "C" {
#endif

#include "../Common/cTypes.h"
int AudioCompressStereo(short* left,short* right,int samples,BYTE* Data);
int AudioDecompressStereo(short* left,short* right,int samples,BYTE* Data);
void AudioSplitChannels(short* data, short* left,short* right,int samples);
void AudioMergeChannels(short* data, short* left,short* right,int samples);
void AudioMergeChannelsI(int* data, short* left,short* right,int samples);

//---mono compression
int AudioCompressChannel(short* channel,int samples,BYTE* Data);
int AudioDecompressChannel(short* channel,int samples,BYTE* Data);

#ifdef __cplusplus
}
#endif

#endif